package com.woniu.airent.service.impl;

import com.woniu.airent.mapper.ReportMapper;
import com.woniu.airent.service.ReportService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ReportServiceImpl implements ReportService {

    @Autowired
    ReportMapper reportMapper;

    @Override
    public Integer addReport(String userName, String houseNumber, String reportContent) {
        return reportMapper.insert(userName,houseNumber,reportContent);
    }
}
